#include"DList.h"

void test1()
{
	DListNode* phead = DLInit();
	/*DLPushBack(phead, 1);
	DLPushBack(phead, 2);
	DLPushBack(phead, 3);
	DLPushBack(phead, 4);*/
	DLPushFront(phead, 1);
	DLPushFront(phead, 2);
	DLPushFront(phead, 3);
	DLPushFront(phead, 4);
	int i = 0;
	for (i = 1; i < 5; i++)
	{
		DLPrint(phead);
		DListNode* ret = DLFind(phead, i);
		DLInsert(ret, 88);
	}
	DLPrint(phead);
	DLDestroy(phead);
	phead = NULL;
	//DLPrint(phead);
}

int main()
{
	test1();
	return 0;
}

